Availability |
1.2 |
Description |
Gets the path of the specified document, expressed as a file:// URL. This function is equivalent to calling dreamweaver.getDocumentDOM() and then reading the URL property of the return value. |
Arguments |
sourceDoc |
|
The argument must be "document" , "parent" , "parent.frames[ number ]" , or "parent.frames[' frameName ']" . document specifies the document that has the focus and contains the current selection. parent specifies the parent frameset (if the currently selected document is in a frame), and parent.frames[ number ] and parent.frames[' frameName '] specify a document that is in a particular frame within the frameset containing the current document. |
Returns |
One of the following values: |
|
 |
A string containing the URL of the specified document if the file has been saved. |
 |
An empty string if the file has not been saved. |
|
Enabler |
None. |
 |
|